export default {

  // 获取所有站点，包含目录等信息
  getSitePage() {
    return window._UIDesingerAxios({
      method: 'get',
      url: '/xvue-admin/api/directory/get',
    });
  },

  // 根据站点id获取站点信息
  getSiteSingle(siteId) {
    return window._UIDesingerAxios({
      method: 'get',
      url: `/xvue-admin/api/directory/${siteId}`,
    });
  },

  // 获取所有站点，无目录等信息
  getSiteListNew() {
    return window._UIDesingerAxios({
      method: 'get',
      url: '/xvue-admin/api/site/list',
    });
  },

  // 获取实时数据刷新频率列表
  getfrequencyTypes() {
    return window._UIDesingerAxios({
      method: 'get',
      url: '/xvue-admin/api/config/realtime/list',
    });
  },
};
